package cn.tedu._05mvcboot02.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class User {
    @ApiModelProperty(value = "用户编号",required = true)
    private int id;
    @ApiModelProperty(value = "用户名",required = true,example = "tedu")
    private String username;
    @ApiModelProperty(value = "密码",required = true)
    private String password;
    @ApiModelProperty(value = "昵称",required = true,example = "tedu")
    private String nickname;
    @ApiModelProperty(value = "创建时间",required = true)
    private Date created;
}
